﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Empires.BLL.Core.IService;
using Empires.BLL.Core.Implement;
using Empires.CRL.DataContract;

namespace Empires.PL.ServiceClient
{
    public static class CompanySettingServiceClient
    {
        /// <summary>
        /// 查询指定企业的主页标题与keyword ('title'$'keyword')
        /// </summary>
        /// <param name="copName"></param>
        /// <returns></returns>
        public static string GetTitleAndKeyWord(string copName)
        {
            ICompanySettingService service = new CompanySettingService();
            return service.GetTitleAndKeyWord(copName);
        }
        public static List<DefaultDataPack> GetLogoInfo(string copName)
        {
            ICompanySettingService service = new CompanySettingService();
            return service.GetLogoInfo(copName);
        }
        public static List<DefaultDataPack> GetScrollImgs(string copname, int take)
        {
            ICompanySettingService service = new CompanySettingService();
            return service.GetScrollImgs(copname, take);
        }
    }
}
